<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<link href="/deng/source/css/bootlist.css" rel="stylesheet" type="text/css" />
	<title>授权中心子系统标记</title>
	<style>
		.dataTable .row-details {
			margin-top: 3px;
			display: inline-block;
			cursor: pointer;
			width: 14px;
			height: 14px;
		}
		.dataTable .row-details.row-details-open {
			background: url(/deng/images/icons/datatable-row-openclose.png) no-repeat 0 -23px !important;
		}
		.dataTable .row-details.row-details-close {
			background: url(/deng/images/icons/datatable-row-openclose.png) no-repeat 0 0;
		}
	</style>
</head>
<body>
	<div class="m-content jehc-content-1">
		<div class="m-portlet">
			<div class="m-portlet__head">
				<div class="m-portlet__head-caption">
					<div class="m-portlet__head-title">
						<h3 class="m-portlet__head-text">
							<span class="m-accordion__item-icon"><i class="flaticon-search"></i>查询区域</span>
						</h3>
					</div>
				</div>
			</div>
			<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" method="POST" id="searchForm" onsubmit="search('datatables');return false;">
				<div class="m-portlet__body">
					<div class="form-group m-form__group row">
						<label class="col-form-label">名称</label>
						<div class="col-lg-2">
								<input type="text" class="form-control" name="sysname" placeholder="请输入">
						</div>
						<label class="col-form-label">状态</label>
						<div class="col-lg-2">
							<select class="form-control" name="sys_mode_status">
								<option value="">---请选择---</option>
								<option value="0">正常</option>
								<option value="1">冻结</option>
							</select>
						</div>
						<a href="javascript:search('datatables')" class="btn btn-light-primary font-weight-bold mr-2">
							<span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
						</a>
						<a href="javascript:resetAll();" class="btn btn-light-success font-weight-bold mr-2">
							<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
						</a>
					</div>
				</div>
				<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
					<div class="m-form__actions m-form__actions--solid">
						<div class="row">
							<div class="col m--align-left">
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-success" href="javascript:toOauthSysModeAdd()">
									<span><i class="la la-plus la-lg"></i><span>新增</span></span>
								</a>
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-primary" href="javascript:toOauthSysModeUpdate()">
									<span><i class="fa fa-magic fa-lg"></i><span>修改</span></span>
								</a>
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-danger m-btn--bolder m-btn--uppercase" href="javascript:delOauthSysMode()">
									<span><i class="fa fa-times"></i><span>冻结</span></span>
								</a>
							</div>
							<div class="col m--align-right">
								<a class="btn btn-light-warning font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:search('datatables')">
									<span><i class="fa fa-spin fa-refresh m-r-5"></i><span>刷 新</span></span>
								</a>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
		<table id="datatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap; width: 99.9%">
			<thead>
				<tr>
					<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkall" /><span></span></label></th>
					<th></th>
					<th>平台标记</th>
					<th>名称</th>
					<th>状态</th>
					<th>创建人</th>
					<th>创建时间</th>
					<th>修改人</th>
					<th>修改时间</th>
					<th>操作</th>
				</tr>
			</thead>
		</table>
	</div>




	<!-- 资源模块模态框（Modal）开始 -->
	<div class="modal fade" id="SysModulesModal" tabindex="-1" role="dialog" aria-labelledby="SysModulesModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-lg modal-dialog-centered">
			<div class="modal-content">
				<div class="m-portlet">
					<div class="modal-header">
						<h4 class="modal-title" id="SysModulesModalLabel">
							创建资源模块
						</h4>
					</div>
					<div class="modal-body">
						<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" method="POST" id="SysModulesForm">
							<div class="m-portlet__body">
								<div class="form-group m-form__group row">
									<label class="col-lg-2 col-form-label">模块名</label>
									<div class="col-lg-4">
										<input class="form-control" type="hidden" id="sysmode_id" name="sysmode_id" >
										<input class="form-control" type="hidden" name="sys_modules_id" id='sys_modules_id' placeholder="请输入">
										<input class="form-control" type="text" maxlength="200"  data-bv-notempty data-bv-notempty-message="请输入" id="sys_modules_name" name="sys_modules_name" placeholder="请输入">
									</div>
								</div>
								<div class="form-group m-form__group row">
									<label class="col-lg-2 col-form-label">模块标记</label>
									<div class="col-lg-4">
										<input class="form-control" type="text" maxlength="100"  name="sys_modules_mode" id="sys_modules_mode" placeholder="请输入">
									</div>
								</div>
								<div class="form-group m-form__group row">
									<label class="col-lg-2 col-form-label">状态</label>
									<div class="col-lg-4">
										<select class="form-control" id="sys_modules_status" name="sys_modules_status">
											<option value="">---请选择---</option>
											<option value="0">正常</option>
											<option value="1">冻结</option>
										</select>
									</div>
								</div>
								<div class="form-group m-form__group row">
									<label class="col-lg-2 col-form-label">keyId</label>
									<div class="col-lg-4">
										<input class="form-control" type="text" maxlength="100"  name="keyid" id="keyid" placeholder="请输入">
									</div>
									<label class="col-lg-2 col-form-label" style="color: red">唯一标识</label>
								</div>
							</div>
						</form>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-light-success font-weight-bold mr-2" data-dismiss="modal">取 消</button>
					<button type="button" class="btn btn-light-primary font-weight-bold mr-2" onclick="saveOauthSysModules()">保 存</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal -->
	</div>
	<!-- 功能模态框（Modal）结束 -->
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/oauth/oauth-sys-mode/oauth-sys-mode-list.js"></script>
</html>
